<%@ page language="java" import="java.util.*"  pageEncoding="utf-8"%>
<%@include file="common/indexhead.jsp" %>

<%-- <%@include file="common/zTreeHead.jsp" %> --%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

	
<link rel="stylesheet" href="${pageContext.request.contextPath}/mystyle/zTreeStyle/css/demo.css" type="text/css">
	<link rel="stylesheet" href="${pageContext.request.contextPath}/mystyle/zTreeStyle/css/zTreeStyle.css" type="text/css">
<script src="${pageContext.request.contextPath}/assets/vendor/jquery/jquery.min.js"></script>
	<script src="${pageContext.request.contextPath}/assets/vendor/bootstrap/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/mystyle/zTreeStyle/js/jquery.ztree.core.js"></script>
	<script src="${pageContext.request.contextPath}/mystyle/js/userclick.js" type="text/javascript" charset="utf-8"></script>
<!-- <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> -->


<div class="panel panel-primary" >  
	<div class="panel-heading">  
		<div>
		<h3 class="panel-title">部门管理</h3> 
		</div>
		<div class="button" style="float: right;margin-top: -27px;margin-right: 5px;">
			<a class="btn btn-info" href="/dept/add" target="_blank"><i class="fa fa-plus-square"></i>新增部门</a>
		</div>
	</div> 
	
	<div class="panel-body"  style="height:87%">
		
		<div style="height:100%">
		
		<%@include file="zTree.jsp" %>
		
				<iframe id="deptlist" name="deptlist" src="/dept/0/deptcontent" width=75% height=100% frameborder=0>
				</iframe>
			
		</div>
		<!-- <hr></hr> -->
		
	</div>
</div>

<script>
	function changeIframe(){
		//$('#deptlist').attr('src',v);
		document.getElementById('deptlist').contentWindow.location.reload(true);
	}
	</script>
	<link rel="stylesheet" href="${pageContext.request.contextPath}/mystyle/dialog/jquery-ui-1.10.4.custom.css">
	<link rel="stylesheet" href="${pageContext.request.contextPath}/mystyle/dialog/jquery-ui-1.10.4.custom.min.css">
	<script src="${pageContext.request.contextPath}/mystyle/dialog/jquery-ui-1.10.4.custom.js"></script>
	<script src="${pageContext.request.contextPath}/mystyle/dialog/jquery-ui-1.10.4.custom.min.js"></script>
<%-- <%@include file="common/indexbottom.jsp" %> --%>

